#ifndef VFSMONITOR_H
#define VFSMONITOR_H

#include <QObject>

class VFSMonitor : public QObject
{
    Q_OBJECT
public:
    explicit VFSMonitor(QObject *parent = nullptr);

signals:
    void mountEvent(uint32_t pid, std::string command, bool isMount, std::string devName, uint64_t devNum);
    void fileEvent(uint32_t pid, std::string command, uint32_t eventType, uint64_t srcDev, uint64_t srcIno, std::string srcPath, uint64_t dstDev, uint64_t dstIno, std::string dstPath);

public slots:
    void startMonitor();
};

#endif // VFSMONITOR_H
